package org.example.task;

import lombok.Data;
import lombok.Getter;

@Getter
public enum RsetCodeEnum {


    ERROR(500, "失败"),

    SUCCESS(200, "成功");

    private int code;

    private String msg;

    RsetCodeEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
